import request from '@/utils/request'

// 获取资讯列表
export function getArticle(data) {
    return request({
        url: `/cms/web/CXDT/list`,
        method: 'get',
        data: data
    })
}
// 查询五条数据
export function getArticleFive(code) {
    return request({
        url: `/cms/web/ARTICLE/listfive/`+code,
        method: 'get',
		
    })
}
// 查询内容详情
export function getArticleInfo(id) {
    return request({
        url: `/cms/web/CXDT/`+id,
        method: 'get', 
    })
}
// 查询五条数据(层级)
export function getArticleFiveLevel(data) {
  
    return request({
        url: `/cms/web/ARTICLE/policylevellistfive/`,
        method: 'get',
        data:data
    })
}

// 根据关键字查询政策
export function getArticleByKeyword(data) {
  
    return request({
        url: `/cms/web/ARTICLE/findData`,
        method: 'get',
        data:data
    })
}